package assignment10;

import java.io.*;

public class IOStream1 {
	public static void main(String[] args)  throws IOException {
        BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
        String s;
        while((s = in.readLine()).length() != 0) {
        	System.out.println(s);
        }
	}
}
